#ifndef CWORLD
#define CWORLD


class cWorld
{
	protected:
		int population;
		//instance of the state object
		cDayTimeState *dayState;

	public:
		//set state method
		void setDayState(cDayTimeState *new_state);
		void Draw()
		{
			if(dayState)
			dayState->Draw(population);
		}
		cWorld(int Population=0){population=Population;dayState=NULL;}
		int getPopulation(){return population;}
		void setPopulation(int new_population);
};


#endif